#!/bin/bash

for benchmark in backprop bfs hotspot heartwall cfd streamcluster nw lud leukocyte srad_v1 srad_v2
do
	    cat script_base_rodinia.pbs | sed -e "s/hotspot/$benchmark/g" > rodinia/$benchmark/pbs_$benchmark.pbs

done

for benchmark in pf_naive pf_float
do
	    cat script_base_rodinia.pbs | sed -e "s/hotspot/$benchmark/g" > rodinia/$benchmark/pbs_$benchmark.pbs

done

